package com.hzlj.position.config.common.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;

import java.util.Date;

/**
 * 设备绑定历史表(JzJbxxDeviceBindHistory)实体类
 *
 * @author lifh
 * @since 2023-04-03 11:49:22
 */
@Data
@ToString
@TableName(value="jz_jbxx_device_bind_history",autoResultMap = true)
public class JzJbxxDeviceBindHistory {
    /**
    * 主键
    */
    @TableId(type = IdType.INPUT,value = "id")
    private String id;
    /**
    * 关联的ID(jz_jbxx_device_bind)
    */
    @TableField(value = "device_bind_id")
    private String deviceBindId;
    /**
    * 矫正ID(jz_jbxx)
    */
    @TableField(value = "jz_id")
    private String jzId;
    /**
    * 设备编号
    */
    @TableField(value = "device_code")
    private String deviceCode;
    /**
    * 定位渠道类型,dict-LOCATE_CHANNEL_TYPE
    */
    @TableField(value = "channel_type")
    private String channelType;
    /**
    * 定位渠道,dict-LOCATE_CHANNEL
    */
    @TableField(value = "channel")
    private String channel;
    /**
    * 定位间隔周期[单位：秒]
    */
    @TableField(value = "locate_interval")
   private Integer locateInterval;
    /**
    * 定位开始日期
    */
    @TableField(value = "start_time")
    private Date startTime;
    /**
    * 定位结束日期，没有特殊说明，则为矫正结束日期
    */
    @TableField(value = "end_time")
    private Date endTime;
    /**
    * 首次定位时间
    */
    @TableField(value = "first_locate_time")
    private Date firstLocateTime;
    /**
    * 增删改类型,dict-CRUD
    */
    @TableField(value = "crud")
    private String crud;
    /**
    * 创建时间
    */
    @TableField(value = "create_time")
    private Date createTime;
    /**
    * 创建人
    */
    @TableField(value = "creator_uid")
    private String creatorUid;
    /**
    * 更新人姓名
    */
    @TableField(value = "creator_name")
    private String creatorName;
}
